// BigInt 新的原始数据类型
const max = 2 ** 53 // ** 幂运算符
console.log(max)

console.log(Number.MAX_SAFE_INTEGER)
console.log(max === max + 1) // true 最大值时加不上去

const bigInt = 9007199254740093n
console.log(bigInt)
console.log(typeof bigInt) // bigint

console.log(1n == 1) // true
console.log(1n === 1) // false 1n => bigint 1 => number

const bigInt2 = BigInt(9007199254740093n)
console.log(bigInt2)

const num = bigInt + bigInt2
console.log(num.toString())
